package cn.jf.modules.system.mapper;

import cn.jf.modules.system.entity.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色表 Mapper 接口
 * </p>
 *
 * @Author scott
 * @since 2018-12-19
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {
    List<SysRole> getPageList(IPage<SysRole> page, @Param("sysRole") SysRole sysRole);
    SysRole getByRoleCode(@Param("roleCode") String roleCode);
    List<SysRole> getList(@Param("sysRole") SysRole sysRole);
}
